Advertisement
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 ietf-inet-types {prefix inet; revision-date "2010-09-24";}
- import ietf-yang-types {prefix yang; revision-date "2013-07-15";}
- import opendaylight-inventory {prefix inv;revision-date "2013-08-19";}
- import opendaylight-match-types {prefix match; revision-date "2013-10-26"; }
- revision "2016-01-29" {
- description "Initial revision of netmask fields";
- }
- grouping "ipv4-match-netmask-fields" {
- leaf ipv4-source-address {
- description "IPv4 source address without arbitrary subnet mask.";
- type inet:ipv4-address;
- }
- leaf ipv4-destination-address {
- description "IPv4 destination address without arbitrary subnet mask.";
- type inet:ipv4-address;
- }
- leaf ipv4-source-netmask{
- description "IPv4 source arbitrary subnet mask.";
- type yang:dotted-quad;
- }
- leaf ipv4-destination-netmask{
- description "IPv4 destination arbitrary subnet mask.";
- type yang:dotted-quad;
- }
- }
- augment "/match:match/match:layer-3-match/match:ipv4-match" {
- ext:augment-identifier "12345";
- description "Adding ip-address with netmask fields into ipv4 match ";
- uses ipv4-match-netmask-fields;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement