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
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
 - 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
Fix for 1391667: Retry cassandra ops 5 times (also the default value)

Change-Id: Iea8e464ebdc78b01356b817af5379ad4f2deed8f
Making supervisor ini files of contrail-api and contrail-discovery in sync

supervisor ini files for contrail-api and contrail-discovery in the contrail-controller
repo are outdated, Making it in sync with the way we edit/populate the ini files during provisioning.

Change-Id: Id4e0bb4046a91370fcf4f4ad0ea1f76a3a1706ee
Closes-Bug: 1380890
Change old name of NamespaceManager class to the new name: InstanceManager.
The change was introduced in commit cb4911d and the name was not changed
everywhere.

Change-Id: Icf1fda9922ffc7d21cde7ee206d9e14c8ca31204
Merge "Implement introspect for show routing instance summary"
Merge "Use correct variable to update router ASN"