Media Flow Controller Administrator's Guide
•
FQDN
choose an RTP transport mechanism for MFD to use when fetching media data from
the origin streaming server, either rtp-udp or rtp-rtsp (interleaved); default is to use
what the client specifies.
(namespace) object list | delete | revalidate
namespace <name> object {list | delete | revalidate} {all | <URI> | pattern}
[<domain>] [<port>]
EXEC
command. Perform a list or delete operation on the contents in a namespace, or use
revalidate all to validate the contents of the cache present under the namespace; from the
time when issued, Media Flow Controller serves the content to the client only after re-
validating the content with the origin. All objects stored by Media Flow Controller, RAM cache
and disk cache, are stored as UUID:/uri/filename, this command derives the UUID from the
specified namespace.
Note!
The domain and port options only apply to namespaces with proxy-mode mid-tier or
proxy-mode virtual. This way, objects cached for a given domain or domain and port are
listed rather than all objects irrespective of domain.
Example namespace configuration and object list | delete actions:
namespace ns1
domain example.com
match uri
Suppose your URL is http://example.com/abc/def/file.flv. To list an object and get its
characteristics, issue the following command:
namespace ns1 object list /abc/def/file.flv
To delete an object with the same URL:
namespace ns1 object delete /abc/def/file.flv
To delete all the objects in that namespace's disk cache with the same URL:
namespace ns1 object delete all
To list all objects in a disk cache and create a file named with the UUID of the namespace use
this command. In the example, if the namespace had a UUID of 80213A2C, the file containing
the list is 80213A2C.lst. Use the
namespace ns1 object list all
You can also list and delete based on patterns. For example; you can specify *.flv as a
pattern. Media Flow Controller does not support a full Regular Expression for deleting or
listing. The command namespace ns1 object list all is equivalent to namespace ns1 object
list /abc/def/*.
Note!
For Release 2.0.4, only the asterisk (*) wildcard is available for pattern use. Asterisk (*)
matches zero or more characters of any kind as indicated.
Example output for namespace test_ns object list all:
Objects in cache for namespace : test_ns
---------------------------------------------------------------------------
*Loc
Size(KB)
*--------------------------------------------------------------------------
RAM
512
—A hostname or IP address; and (optional) a port, default is 554. Optionally
/abc
upload
Expiry
Tue Nov 24 01:59:13 2009
Media Flow Controller CLI Commands
command to view the file.
URL
example.local:80/tmp/ram/data/test.0.flv
(namespace) object list | delete | revalidate
343