(namespace) object list | delete | revalidate
343
Media Flow Controller Administrator’s Guide
Media Flow Controller CLI Commands
•
FQDN
—A hostname or IP address; and (optional) a port, default is 554. Optionally
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 /abc
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
upload
command to view the file.
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) Expiry URL
*--------------------------------------------------------------------------
RAM 512 Tue Nov 24 01:59:13 2009 example.local:80/tmp/ram/data/test.0.flv
Содержание MEDIA FLOW CONTROLLER 2.0.4 -
Страница 6: ...Media Flow Controller Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Страница 24: ...LIST OF FIGURES XXIV Copyright 2010 Juniper Networks Inc...
Страница 37: ...Copyright 2010 Juniper Networks Inc 37 PART 1 Media Flow Controller Administration...
Страница 38: ...Media Flow Controller Administrator s Guide 38 Copyright 2010 Juniper Networks Inc...
Страница 285: ...Copyright 2010 Juniper Networks Inc 285 PART 2 Media Flow Controller Command and MIB Reference...
Страница 286: ...Media Flow Controller Administrator s Guide 286 Copyright 2010 Juniper Networks Inc...