support contrail-logs-api-audit wrapper script using contrail-logs closes bug: #1335267

Change-Id: I9b92efe70c3c8aac5e8f5166082e54286fb62786
- Added "creator" element to ip-perms.
- vCenter-plugin sets creator to "vcenter-plugin" during VN/VM/VMI/InstanceIp etc creation.
- During syncUp, vcenter plugin checks for creator field and only updates objects that are
  created by vcenter-plugin.

Change-Id: I70b346dcbcdbd6c835ec1fe170b367acc0b5d8e7
Check test_mode in ShutdownControlNodeReq

Change-Id: I7f5f0449c01cffb13328ec79a4aaeda46669affa
Add -f and -o options to ifmap-view for xml output/write to file

Defaults remain as-is (human readable on stdout).
    ifmap_view.py localhost 8443 visual visual -o foo -f xml
writes indented xml received from ifmap server to file called 'foo'.

Change-Id: Ia680d7ba87c45b88716140b5b5bf578488db1ab7
Partial-Bug: #1392595
Device manager UT code

Change-Id: I04e34ecf90c1b2d2fe6aaba4fa7a0da924313d1a
Add support to include ethertype for PolicyRuleType object, so that ipv6 policies can be configured
Add default ethertype only is remote-ip-prefix and remote-group-id is not configured
Return appropriate ethertype back to neutron
Import from PolicyRuleType(SG rule) to MatchConditionType(ACL policy) as agent parses only
the ACL policy obejct and uses SG rule to match the UUID

Bug #1391992

Change-Id: Ic54d2d2b13d9d7b80d2ea5fd58277e1b3a53c58e
Remove family from InterfaceRouteTable object, the family will be indirectly
derived, this keeps it consistent with other VNC Cfg objects, eg: subnets

Bug #1391988

Change-Id: Ibb82e62064a41145b82e28d5686ea6cdf659d148
Use correct variable to update router ASN

Change-Id: Ic1fedd288bd0e3f6439c687fb5fcaa57bb43104d
Closes-Bug: 1387579
Handle change of VM for a given VMI in agent UVE code.
Related-Bug: 1382534

Change-Id: Ib173c9071b30df81f46fe8823430be58f81937ed
Implement introspect for show routing instance summary

This will be useful for debugging when there's a large number of
instances. The normal show routing instance introspect output has
too much information about table membership, making it difficult
to find the instance of interest.

Change-Id: Ibbd4be2196cf6f5a4b359a6fd3ceecc4b8b5e050
Temporary fix for xmpp server introspect on agent

Change-Id: I35bcb23674d27846eaddd6db9b699c3f88bc100f
Re-establish session with ifmap server on error during publish.

Looking at logs of ifmap server, it appeared that at
1. t0 - api-server connected to ifmap server and published config-root etc.
        using port# p1
2. t1 - ifmap server reported api-server authenticated to it using port #p2
        and it deleted existing session with api-server
3. >t1 - any api-server publish to ifmap server on port# p1 fails.

event on t1 is an unresolved mystery. However same situation is created by
1. neutron net-create n1
2. ifmap-view localhost 8443 api-server api-server
3. neutron net-create n2 fails

To fix, on receiving errorResult in publish, redo newSession and re-publish.
Log on edges of failure + success. Also don't try to publish when there is
no update or delete body as that will lead to ifmap error.

Add a unit test to simulate above

Change-Id: I2468c1d86e48f1e9264e57a10805239fcd835a98
Closes-Bug: #1392132
CI build broken
Identation error caused due to 8dcde10550334e6f65bcc0fd2863d637a1fb074d
Closes-Bug: #1393051

Change-Id: Ifcbcf7edb798573be77271dad71925ae92607949
    Make the RND secret configurable in the DNS config file.
    Also take the named config directory, file name and log file as config parameters.
    Create the rndc file.

    Test cases to check the new config options.

Change-Id: Ia7a54134e03a20b033785a7e4a4762599b84949d
(cherry picked from commit 15b1f8887cbd69ac3068eb5a0fa9405ddccf797a)
Merge "Check test_mode in ShutdownControlNodeReq"
Merge "    Make the RND secret configurable in the DNS config file.     Also take the named config directory, file name and log file as config parameters.     Create the rndc file."
 - Suppport for vlan configuration on the port-group
 - Pool timer reduced to 16 sec from 30 for faster response time.

Change-Id: Ie723bac1b13358be621e8f9b2a77c0f347ac2c44
Merge "Handle change of VM for a given VMI in agent UVE code. Related-Bug: 1382534"
Merge "- Added "creator" element to ip-perms. - vCenter-plugin sets creator to "vcenter-plugin" during VN/VM/VMI/InstanceIp etc creation. - During syncUp, vcenter plugin checks for creator field and only updates objects that are   created by vcenter-plugin."
Fix duplicate check for ACL rules with cidr

While checking for duplicate ACL rules, we were ignoring the prefix part. As a result, if two rules containing different prefixes were being added, we were treating them duplicates and were not adding the second rule. Added comparison of prefixes while comparing rules.

Also updated the unit test case for the same.

Change-Id: I1dc1669826e3f9154f2876074c0eada58b59ac29
Closes-Bug: 1392545