![Juniper MEDIA FLOW CONTROLLER 2.0.4 - Administrator'S Manual Download Page 86](http://html1.mh-extra.com/html/juniper/media-flow-controller-2-0-4/media-flow-controller-2-0-4_administrators-manual_2032854086.webp)
Media Flow Controller Configuration Tasks (CLI)
Media Flow Controller Administrator’s Guide
86
Creating a Namespace and Setting Namespace Options (CLI)
Copyright © 2010, Juniper Networks, Inc.
Using namespace object delete | list
List or delete contents in a namespace. The command takes in the name of a namespace and
applies a list or delete operation to the objects matching the given pattern.
namespace <name> object {list |delete} {all | <URI> | pattern}
For example, with this namespace and a URL of http://example.com/abc/def/file.flv:
namespace ns1
domain example.com
match uri /abc
1.
To list an object and get its characteristics:
namespace ns1 object list /abc/def/file.flv
2.
To delete an object with the same URL:
namespace ns1 object delete /abc/def/file.flv
3.
To delete all the objects in that namespace’s disk cache with the same URL:
namespace ns1 object delete all
4.
List all the first 50 objects in that disk cache and create a file named with the UUID of the
namespace listing all cached objects for that namespace. In the example, if the
namespace had a UUID of 80213A2C, the file containing the list is 80213A2C.lst.
Note!
Only the first 50 cached objects are listed; if there are more than 50, use the
upload
command. See
“Terminology” on page 30
for the scp URL format).
namespace ns1 object list all
upload object list <namespace> <SCP>
5.
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/*.
Using namespace for Live Streaming Delivery Without Caching
An example namespace configuration to deliver live streaming objects without caching is
given; the delivery protocol and live-pub-point commands both enter you to prefix mode.
namespace <name>
match uri <uri-prefix>
origin-server rtsp <IP_address | hostname> [port]
status active
delivery protocol rtsp
exit
live-pub-point <pp_ name>
receive-mode on-demand
status active
exit
exit
Summary of Contents for MEDIA FLOW CONTROLLER 2.0.4 -
Page 6: ...Media Flow Controller Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Page 24: ...LIST OF FIGURES XXIV Copyright 2010 Juniper Networks Inc...
Page 37: ...Copyright 2010 Juniper Networks Inc 37 PART 1 Media Flow Controller Administration...
Page 38: ...Media Flow Controller Administrator s Guide 38 Copyright 2010 Juniper Networks Inc...
Page 285: ...Copyright 2010 Juniper Networks Inc 285 PART 2 Media Flow Controller Command and MIB Reference...
Page 286: ...Media Flow Controller Administrator s Guide 286 Copyright 2010 Juniper Networks Inc...