Skip to content

Commit

Permalink
Support disabling of policy on VMI
Browse files Browse the repository at this point in the history
Parse disable-policy configuration on VMI and update the policy status
of VMI.

Add UT to verify the following on disabling of policy on VMI.
-Verify that L2/L3 routes of the VMI point to policy disabled NH
-Verify that mpls label points to policy disabled NH
-Verify that l2 mpls label of VMI points to policy disabled NH
-Verify that interface's flow-key-nh points to policy enabled NH
-Verify that interface's metadata ip route points to policy enabled NH

Change-Id: I62673790066a0ed9cbfc00bd1fa1909e9d8412c1
Closes-Bug: #1558920
  • Loading branch information
ashoksr committed Mar 25, 2016
1 parent f41a91d commit d8cdf3c
Show file tree
Hide file tree
Showing 6 changed files with 490 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/vnsw/agent/oper/test/SConscript
Expand Up @@ -25,6 +25,8 @@ oper_flaky_test_suite = []
test_agent_sandesh = AgentEnv.MakeTestCmd(env, 'test_agent_sandesh', oper_test_suite)
test_config_manager = AgentEnv.MakeTestCmd(env, 'test_config_manager', oper_test_suite)
test_intf = AgentEnv.MakeTestCmd(env, 'test_intf', oper_test_suite)
test_intf_policy = AgentEnv.MakeTestCmd(env, 'test_intf_policy',
oper_test_suite)
test_find_scale = AgentEnv.MakeTestCmd(env, 'test_find_scale', oper_test_suite)
test_logical_intf = AgentEnv.MakeTestCmd(env, 'test_logical_intf', oper_test_suite)
test_vrf_assign = AgentEnv.MakeTestCmd(env, 'test_vrf_assign', oper_test_suite)
Expand Down

0 comments on commit d8cdf3c

Please sign in to comment.