agentName : Rib-vrf-%vrfName$

# The Pre-Base/Base/BaseDir MountGroups should only include mounts for "Agent"
# related entities (i.e stages, AgentPlugins, etc), along with other higher
# priority config or Dir entities (i.e RoutingConfig, GracefulRestart,
# MaintenanceMode, etc). The remaining MountGroups should specify a condition
# on the agent's VrfProtocolLaunchStatus.initAgentConditionalMountsTime.

MountGroup : Pre-Base, 1
%cellPath/routing/VrfLaunchIndicator, Tac::Dir, ri
%cellPath/routing/ribdVrfStatus, Tac::Dir, wi
routing/multiAgentVrfProtocolConfig, VrfTypes::MultiAgentVrfProtoConfig, ri

MountGroup:BaseDirs
routing/vrf/config, Routing::VrfConfigDir, ri
routing/vrf/routelistconfig, Routing::VrfRouteListConfigDir, ri
routing6/vrf/config, Routing6::VrfConfigDir, ri
routing6/vrf/routelistconfig, Routing6::VrfRouteListConfigDir, ri
%cellPath/routing/fibReady, Tac::Dir, w
%cellPath/routing/fibReadyStatus, GatedReady::FibReadyStatus, r
%cellPath/routing/vrf/ready/config, Tac::Dir, w
%cellPath/routing/vrf/ready/status, Tac::Dir, w
%cellPath/routing/sequence/vrf/status, Tac::Dir, ri
arp/ribNextHop/response, Arp::RibNextHop::ResponseDir, r
routing/vrf/input, Tac::Dir, ri
routing6/vrf/input, Tac::Dir, ri
debug/config, Debug::Config, r
%cellPath/ip/vrf/status/local, Ip::AllVrfStatusLocal, r
routing/bgp/testControlRequest, Routing::Bgp::TestControlRequestDir, r
interface/status/subintf, Interface::SubIntfStatusDir, ri

MountGroup:MulticastGroups
ip/multicastGroups/application, Tac::Dir, w
ip6/multicastGroups/application, Tac::Dir, w

MountGroup:Base
l3/config, L3::Config, r
ip/config, Ip::Config, r
ip6/config, Ip6::Config, r
l3/intf/config, L3::Intf::ConfigDir, r
mpls/ldp/linkReadyStatus, Ldp::LdpLinkReadyStatusVrfColl, r
# Mounted by Interface::DynamicIfIndexMounter
include: Intf-DynamicIfIndex-include

MountGroup : Routing
Condition : %vrfName in /%sysname/Sysdb/%cellPath/routing/VrfLaunchIndicator.entryState and \
            0 < /%sysname/Sysdb/%cellPath/routing/VrfLaunchIndicator/%vrfName.initAgentConditionalMountsTime
routing/vrf/routingInfo/status, Tac::Dir, w
routing6/vrf/routingInfo/status, Tac::Dir, w
routing/general/config/global, Routing::General::Config, r
routing/general/config/dynPolicyRoutes, Routing::DynPolicyRoutes::Config, r
routing/general/config/routeControl, Routing::RouteControl::Config, r
routing/hardware/statuscommon, Routing::Hardware::StatusCommon, r
routing/hardware/status, Routing::Hardware::Status, r
routing/fhrp/virtualIpStatus, VirtualIp::VirtualIpStatus, rS
routing6/hardware/config, Routing6::Hardware::Config, r
routing6/hardware/status, Routing6::Hardware::Status, r
%cellPath/routing/ucmp/vrf/status, Tac::Dir, w
%cellPath/routing/sequence/vrf/config, Tac::Dir, w
arp/ribNextHop/request, Tac::Dir, w
Include: AgentPlugin-IntfCollections-*
Include: Ira-IpStatus-deps-include

MountGroup:MaintMode
%cellPath/stageInput/boot/Rib, Stage::AgentConfig, r
%cellPath/stage/boot/progress, Stage::ProgressDir, r
%cellPath/stage/boot/completionstatus, Stage::CompletionStatusDir, r
%cellPath/stageAgentStatus/switchover, Tac::Dir, w
%cellPath/stageAgentStatus/switchover/Rib-vrf-%vrfName,Stage::AgentStatus, wcf
%cellPath/stage/switchover/progress, Stage::ProgressDir, r
%cellPath/stageAgentStatus/shutdown/Rib-vrf-%vrfName,Stage::AgentStatus, wcf
%cellPath/stage/shutdown/progress,Stage::ProgressDir,r
%cellPath/stage/shutdown/completionstatus,Stage::CompletionStatusDir,r

MountGroup:GracefulRestart
asu/cli/config, Asu::CliConfig, r
asu/hardware/status, Asu::AsuStatus, r
%cellPath/stage/switchover/completionstatus, Stage::CompletionStatusDir, r
%cellPath/agent/startupStatus, Tac::Dir, w

MountGroup:bgpExport
Condition : %vrfName in /%sysname/Sysdb/%cellPath/routing/VrfLaunchIndicator.entryState and \
            0 < /%sysname/Sysdb/%cellPath/routing/VrfLaunchIndicator/%vrfName.initAgentConditionalMountsTime
%cellPath/routing/bgp/export/vrfBgpAttrInfoStatus, Tac::Dir, w
%cellPath/routing/bgp/export/vrfBgpGlobalInfoStatus, Tac::Dir, w
%cellPath/routing/bgp/export/vrfBgpPeerInfoStatusEntryTable, Tac::Dir, w
%cellPath/routing/bgp/export/status, Tac::Dir, w
%cellPath/routing/bgp/export/vrfStatus/ipv4, Tac::Dir, w
%cellPath/routing/bgp/export/vrfStatus/ipv6, Tac::Dir, w
routing/bgp/export/config, Tac::Dir, w
%cellPath/routing/bgp/export/clientconfig/adjribin, Tac::Dir, ri
%cellPath/routing/bgp/export/clientconfig/brib, Tac::Dir, ri
%cellPath/routing/bgp/export/trafficPolicy, Tac::Dir, wi

MountGroup:Bfd
Condition : %vrfName in /%sysname/Sysdb/%cellPath/routing/VrfLaunchIndicator.entryState and \
            0 < /%sysname/Sysdb/%cellPath/routing/VrfLaunchIndicator/%vrfName.initAgentConditionalMountsTime
bfd/status/peer, Bfd::StatusPeer, r
routing/rib/staticBfdStatus, Tac::Dir, w
bfd/config/app/bgp, Tac::Dir, w
bfd/config/app/ospf, Tac::Dir, w
bfd/config/app/isis, Tac::Dir, w
bfd/config/app/ospfv3_ipv6, Tac::Dir, w
bfd/config/app/ospfv3_ipv4, Tac::Dir, w
bfd/config/app/static-route, Tac::Dir, w
bfd/launcherControl, Tac::Dir, wi

MountGroup : OpenConfig
Condition : %vrfName in /%sysname/Sysdb/%cellPath/routing/VrfLaunchIndicator.entryState and \
            0 < /%sysname/Sysdb/%cellPath/routing/VrfLaunchIndicator/%vrfName.initAgentConditionalMountsTime
%cellPath/routing/bgp/export/openConfig, Routing::Bgp::BgpOpenConfigExportConfig, r
