All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.yang.odl-ofconfig-topology.yang Maven / Gradle / Ivy

Go to download

The of-config integration project is a project for OpenDaylight that will implement the Of-configure protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.

There is a newer version: 1.4.4
Show newest version
module odl-ofconfig-topology {
    yang-version 1;
    namespace "urn:opendaylight:params:xml:ns:yang:ofconfig:topology";
    prefix "odl-ofconfig-topology";
    
    import yang-ext { prefix "ext";revision-date "2013-07-09"; }
    import odl-ofconfig-types { prefix "odl-ofconfig-types"; revision-date "2015-09-01";}
    import odl-ofconfig12 { prefix "odl-ofconfig12"; revision-date "2015-09-01";}
    import network-topology {prefix "topo"; revision-date "2013-10-21"; }
    
    revision "2015-09-01" {
        description "Initial revision of opendaylight of-config topology";
    }
    

	augment "/topo:network-topology/topo:topology/topo:node" {
        description "Augmentation for capable-switch nodes managed by of-config";
        ext:augment-identifier "ofconfig-capable-switch-augmentation";
        container ofconfig-capable-switch-attributes { 
	        leaf ofconfig-version {
	            type identityref {
	                base odl-ofconfig-types:of-config-version-type-base;
	            }
	        }
	        
	        leaf netconf-topology-node-id{
	        	type string;
	        }
	        
	         when "ofconfig-version ='of-config-type-version-12' ";
			 	
			    uses odl-ofconfig12:capable-switch-node-attributes;
			 } 
    }
    
    augment "/topo:network-topology/topo:topology/topo:node" {
        description "Augmentation for logical-switch nodes managed by of-config";
        ext:augment-identifier "ofconfig-logical-switch-augmentation";
        container ofconfig-logical-switch-attributes { 
        
        	leaf ofconfig-version {
	            type identityref {
	                base odl-ofconfig-types:of-config-version-type-base;
	            }
	        }
	        
	        leaf netconf-topology-node-id{
	        	type string;
	        }
        
			leaf datapath-id{
		 		config false;
		 		type odl-ofconfig-types:datapath-id-type;
		 	}
		 	
		 	leaf capable-switch-id{
		 		config false;
		 		type string;
		 	}
		 	
		 	when "ofconfig-version ='of-config-type-version-12' ";
		 		
		    		uses odl-ofconfig12:of-config-logical-switch-attributes;
		 	} 


    }
    
    
}
    




© 2015 - 2025 Weber Informatics LLC | Privacy Policy