# This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 2.0 France License. # To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/2.0/fr/ # # or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. body common control { bundlesequence => { "country" }; } bundle agent country { vars: ipv4_192_168_10:: "country" string => "france", policy => "free"; ipv4_192_168_50:: "country" string => "germany", policy => "free"; ipv4_192_168_100:: "country" string => "spain", policy => "free"; ipv4_192_168_200:: "country" string => "england", policy => "free"; !known_subnet:: "country" string => "unknown", policy => "free"; classes: "known_subnet" or => { "ipv4_192_168_10", "ipv4_192_168_50", "ipv4_192_168_100", "ipv4_192_168_200" }; reports: "My location is $(country)"; }