def build_acl_ip(self, network_obj):
if str(network_obj) == '<STR_LIT>':<EOL><INDENT>acl = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>acl = "<STR_LIT>" % {'<STR_LIT>': network_obj.network,<EOL>'<STR_LIT>': network_obj.netmask}<EOL><DEDENT>return acl<EOL>
Build the acl for IP address.