This module contains YANG definitions for protocols involved. Copyright (c) 2015 Fujitsu Ltd. All rights reserved.
Version: 2018-06-07
module fujitsu-protocols { yang-version 1; namespace "urn:fujitsu:params:xml:ns:yang:protocols"; prefix fjproto; organization "Fujitsu Ltd."; contact "Fujitsu Ltd. Address: 2801 Telecom Parkway Richardson, Texas 75082 Tel: +1-800-USE-FTAC (1-800-873-3822) Email: ftac@fnc.fujitsu.com Web: www.fujitsu.com/us/services/telecom"; description "This module contains YANG definitions for protocols involved. Copyright (c) 2015 Fujitsu Ltd. All rights reserved. "; revision "2016-04-01" { description "Initial revision."; } revision "2018-06-07" { description "Protocol-name typedef to enum for auto-permitted protocols list."; } identity protocol-type { description "Base identity from which specific protocol types are derived."; } container protocols { description "configuration of protocols instances. "; list protocol { key "name"; description "Protocol instance"; leaf name { type string; description "Name of the protocol instance"; } leaf type { type identityref { base protocol-type; } mandatory true; description "The type of the protocol like NAT,LLDP etc."; } container lldp-instance { when "(../fjproto:type='lldp:fujitsuLldp') and (../fjproto:name='lldp')"; description "LLDP configurable and retrievable"; container global-config { description "LLDP global configurations"; leaf adminStatus { type enumeration { enum "disable" { value 0; description "Disable LLDP feature per NE"; } enum "enable" { value 1; description "Enable LLDP feature per NE"; } } default "enable"; description "Enable/Disable LLDP feature per NE"; } leaf msgTxInterval { type uint16 { range "5..32768"; } default "30"; description "LLDP frame Retransmit Interval in seconds"; } leaf msgTxHoldMultiplier { type uint8 { range "2..10"; } default "4"; description "TTL value for the TLVs transmitter over wire in seconds"; } } // container global-config list port { key "ifName"; description "LLDP port configurations"; leaf ifName { type leafref { path "/if:interfaces/if:interface/if:name"; } description "Ethernet interface name where LLDP runs"; } leaf adminStatus { type enumeration { enum "disable" { value 0; description "Disable Transmit and Receive LLDP frames on specific interface"; } enum "txandrx" { value 1; description "Enable Transmit and Receive LLDP frames on specific interface"; } enum "rxonly" { value 3; description "Enable only Receive LLDP frames on specific interface"; } } default "txandrx"; description "LLDP enable per port basis"; } list neighbour { key "remoteSysName"; config false; description "LLDP Oper data - Neighbour List information"; leaf remoteSysName { type string; description "remote neighbour system name"; } list remoteMgmtAddress { leaf AddressSubType { type ianaaf:address-family; description "remote neighbour Management Address Subtype Enumeration"; } leaf Address { type inet:ip-address; description "remote neighbour management address"; } } // list remoteMgmtAddress leaf remotePortIdSubType { type enumeration { enum "other" { value 0; description "reserved"; } enum "ifalias" { value 1; description "Interface Alias (IfAlias - IETF RFC 2863) "; } enum "portcomponent" { value 2; description "Port component (EntPhysicalAlias IETF RFC 4133)"; } enum "macaddress" { value 3; description "MAC address (IEEE Std 802) "; } enum "networkaddress" { value 4; description "Network Address"; } enum "ifname" { value 5; description "Interface Name (ifName - IETF RFC 2863)"; } enum "agentcircuitid" { value 6; description "Agent Circuit Id (IETF RFC 3046)"; } enum "local" { value 7; description "Locally assigned"; } enum "NotSupported" { value 8; description "Not Supported"; } } description "remote neighbour Port ID Subtype Enumeration"; } leaf remotePortId { type string; description "remote neighbour port Id"; } leaf remotePortDescription { type string; description "remote neighbour port Description"; } leaf remoteChassisIdSubType { type enumeration { enum "reserved" { value 0; description "reserved"; } enum "chassiscomponent" { value 1; description "Chassis component (EntPhysicalAlias IETF RFC 4133)"; } enum "ifalias" { value 2; description "Interface Alias (IfAlias - IETF RFC 2863) "; } enum "portcomponent" { value 3; description "Port component (EntPhysicalAlias IETF RFC 4133)"; } enum "macaddress" { value 4; description "MAC address (IEEE Std 802) "; } enum "networkaddress" { value 5; description "Network Address"; } enum "ifname" { value 6; description "Interface Name (ifName - IETF RFC 2863)"; } enum "local" { value 7; description "Locally assigned"; } enum "NotSupported" { value 8; description "Not Supported"; } } description "Chassis ID Subtype Enumeration"; } leaf remoteChassisId { type string; description "remote neighbour Chassis Id"; } } // list neighbour } // list port } // container lldp-instance } // list protocol } // container protocols typedef auto-permitted-protocol { type enumeration { enum "icmp" { value 1; description "ICMP protocol"; } enum "ospf" { value 2; description "Ospf Protocol"; } enum "dhcp" { value 3; description "Dhcp protocol"; } } } } // module fujitsu-protocols
© 2023 YumaWorks, Inc. All rights reserved.