netconfcentral logo

SUPA-serviceflow

HTML

SUPA-serviceflow@2014-08-13



  module SUPA-serviceflow {

    yang-version 1;

    namespace
      "urn:TBD:params:xml:ns:yang:serviceflow";

    prefix nc;

    import ietf-inet-types {
      prefix inet;
    }

    organization "TBD";

    contact "WILL-BE-DEFINED-LATER";

    description
      "This module defines a model for service flow";

    revision "2014-08-13";

    container flows {
      list flow {
        key "flowName";
        min-elements 0;
        max-elements unbounded;
        description "Flow";
        leaf flowName {
          type string {
            length "0..31";
          }
          description "Flow Name";
        }

        list flowFilter {
          key "flowFilterID";
          min-elements 0;
          max-elements unbounded;
          description "Flow Filter";
          leaf flowFilterID {
            type string {
              length "0..64";
            }
            description "Flow Filter";
          }

          leaf sourceIP {
            type inet:ipv4-address;
            default "0.0.0.0";
            description "source IP";
          }

          leaf destinationIP {
            type inet:ipv4-address;
            default "0.0.0.0";
            description "destination IP";
          }

          leaf sourcePrefix {
            type inet:ipv4-address;
            default "0.0.0.0";
            description "source Prefix";
          }

          leaf destinationPrefix {
            type inet:ipv4-address;
            default "0.0.0.0";
            description "destination Prefix";
          }

          leaf prefix {
            type inet:ipv4-address;
            default "0.0.0.0";
            description "Prefix";
          }

          leaf sourcePort {
            type inet:port-number {
              range "0..65535";
            }
            description "Source Port";
          }

          leaf destinationPort {
            type inet:port-number {
              range "0..65535";
            }
            description "Destination Port";
          }

          leaf inIf {
            type string {
              length "0..64";
            }
            description "In Intreface Name";
          }

          leaf outIf {
            type string {
              length "0..64";
            }
            description "Out Interface Name";
          }

          leaf protocolId {
            type string {
              length "0..64";
            }
            description "Protocol ID";
          }
        }  // list flowFilter
      }  // list flow

      container flowPolicies {
        list flowPolicy {
          key "policyName";
          min-elements 0;
          max-elements unbounded;
          description "Flow Policy";
          leaf policyName {
            type string {
              length "0..64";
            }
            description "Policy Name";
          }

          leaf flowName {
            type string {
              length "0..64";
            }
            description "Flow Name";
          }

          leaf nodeKeyType {
            type enumeration {
              enum "lsr-id" {
                value 0;
                description "lsr-id:";
              }
              enum "invalid" {
                value 1;
                description "invalid:";
              }
              enum "system-id" {
                value 2;
                description "system-id:";
              }
              enum "router-id" {
                value 3;
                description "router-id:";
              }
              enum "fp-id" {
                value 4;
                description "fp-id:";
              }
              enum "mac" {
                value 5;
                description "mac:";
              }
            }
            default "lsr-id";
            description "Node Key Type";
          }

          leaf nodeId {
            type string {
              length "0..64";
            }
            default "_leftNode_";
            description "Node Id";
          }

          leaf tpType {
            type enumeration {
              enum "ip" {
                value 0;
                description "ip:";
              }
              enum "invalid" {
                value 1;
                description "invalid:";
              }
              enum "interface" {
                value 2;
                description "interface:";
              }
            }
            default "ip";
            description "Terminal Point Key";
          }

          leaf tpId {
            type string {
              length "0..64";
            }
            default "_Tp_";
            description "Terminal Point Id";
          }
        }  // list flowPolicy
      }  // container flowPolicies
    }  // container flows
  }  // module SUPA-serviceflow

Summary

  
  
Organization TBD
  
Module SUPA-serviceflow
Version 2014-08-13
File SUPA-serviceflow@2014-08-13.yang
  
Prefix nc
Namespace urn:TBD:params:xml:ns:yang:serviceflow
  
Cooked /cookedmodules/SUPA-serviceflow/2014-08-13
YANG /src/SUPA-serviceflow@2014-08-13.yang
XSD /xsd/SUPA-serviceflow@2014-08-13.xsd
  
Abstract This module defines a model for service flow
  
Contact
WILL-BE-DEFINED-LATER

Description

 
This module defines a model for service flow

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
flows container flow flowPolicies
   flow list Flow
      flowFilter list Flow Filter
         destinationIP leaf destination IP
         destinationPort leaf Destination Port
         destinationPrefix leaf destination Prefix
         flowFilterID leaf Flow Filter
         inIf leaf In Intreface Name
         outIf leaf Out Interface Name
         prefix leaf Prefix
         protocolId leaf Protocol ID
         sourceIP leaf source IP
         sourcePort leaf Source Port
         sourcePrefix leaf source Prefix
      flowName leaf Flow Name
   flowPolicies container flowPolicy
      flowPolicy list Flow Policy
         flowName leaf Flow Name
         nodeId leaf Node Id
         nodeKeyType leaf Node Key Type
         policyName leaf Policy Name
         tpId leaf Terminal Point Id
         tpType leaf Terminal Point Key