Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module opendaylight-netmask-fields {
- namespace "urn:opendaylight:netmask:fields";
- prefix "netmask";
- import yang-ext {prefix ext; revision-date "2013-07-09";}
- import ietf-inet-types {prefix inet; revision-date "2010-09-24";}
- import ietf-yang-types {prefix yang; revision-date "2013-07-15";}
- import opendaylight-match-types {prefix match; revision-date "2013-10-26";}
- import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
- revision "2016-1-30" {
- description "Initial revision of match types";
- }
- grouping "ipv4-match-netmask-fields" {
- leaf ipv4-source-address-no-mask {
- description "IPv4 source address with no mask .";
- type inet:ipv4-address;
- }
- leaf ipv4-destination-address-no-mask {
- description "IPv4 destination address with no mask.";
- type inet:ipv4-address;
- }
- leaf ipv4-source-netmask {
- description "IPv4 source address with no mask .";
- type yang:dotted-quad;
- }
- leaf ipv4-destination-netmask {
- description "IPv4 destination address with no mask.";
- type yang:dotted-quad;
- }
- }
- augment "/match:match/match:layer-3-match/match:ipv4-match" {
- ext:augment-identifier "ipv4-match-netmask-fields-data";
- description "Adding Ipv4 netmask fields to accomodate arbitrary subnet mask";
- uses ipv4-match-netmask-fields;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment