oneaccess.gramar: interface mtu, service-policy, access-group
authorTomas Zeman <tzeman@volny.cz>
Tue, 21 Aug 2012 12:22:33 +0200
changeset 39 b39ab9900b24
parent 38 d925a22bbcf3
child 40 dd3906ea5dc6
oneaccess.gramar: interface mtu, service-policy, access-group
oneaccess.gramar
--- a/oneaccess.gramar	Tue Aug 21 12:10:00 2012 +0200
+++ b/oneaccess.gramar	Tue Aug 21 12:22:33 2012 +0200
@@ -201,6 +201,12 @@
 		{ $arg{ctx}->{"bridge-group"} = $item{num} }
 		| "framing" keyword
 		{ $arg{ctx}->{framing} = $item{keyword} }
+		| "ip" "mtu" num
+		{ $arg{ctx}->{mtu} = $item{num} }
+		| "service-policy" /input|output/ identifier
+		{ $arg{ctx}->{'service-policy'}->{$item[2]} = $item{identifier} }
+		| "ip" "access-group" identifier /in|out/
+		{ $arg{ctx}->{'access-group'}->{$item[4]} = $item{identifier} }
 
 # vrf
 l_vrf:		"0" "ip" "vrf" keyword eol