mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-03 23:47:16 +00:00 
			
		
		
		
	Introduce frr-interface.yang, which defines a model for managing FRR interfaces. Update the 'frr_yang_module_info' array of all daemons that will implement this module. Add automatically generated stub callbacks in if.c. These callbacks will be implemented in the following commit. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
		
			
				
	
	
		
			47 lines
		
	
	
		
			956 B
		
	
	
	
		
			YANG
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			956 B
		
	
	
	
		
			YANG
		
	
	
	
	
	
module frr-interface {
 | 
						|
  yang-version 1.1;
 | 
						|
  namespace "http://frrouting.org/yang/interface";
 | 
						|
  prefix frr-interface;
 | 
						|
 | 
						|
  organization
 | 
						|
    "Free Range Routing";
 | 
						|
  contact
 | 
						|
    "FRR Users List:       <mailto:frog@lists.frrouting.org>
 | 
						|
     FRR Development List: <mailto:dev@lists.frrouting.org>";
 | 
						|
  description
 | 
						|
    "This module defines a model for managing FRR interfaces.";
 | 
						|
 | 
						|
  revision 2018-03-28 {
 | 
						|
    description
 | 
						|
      "Initial revision.";
 | 
						|
  }
 | 
						|
 | 
						|
  container lib {
 | 
						|
    list interface {
 | 
						|
      key "name vrf";
 | 
						|
      description
 | 
						|
        "Interface.";
 | 
						|
 | 
						|
      leaf name {
 | 
						|
        type string {
 | 
						|
          length "1..16";
 | 
						|
        }
 | 
						|
        description
 | 
						|
          "Interface name.";
 | 
						|
      }
 | 
						|
      leaf vrf {
 | 
						|
        type string {
 | 
						|
          length "1..36";
 | 
						|
        }
 | 
						|
        description
 | 
						|
          "VRF this interface is associated with.";
 | 
						|
      }
 | 
						|
      leaf description {
 | 
						|
        type string;
 | 
						|
        description
 | 
						|
          "Interface description.";
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |