Skip to content

Commit

Permalink
Merge "Provide default value for vif_type and port_type arguments of …
Browse files Browse the repository at this point in the history
…vrouter-port-control" into R3.1
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Jul 13, 2016
2 parents c02208b + a8ab0c3 commit 96ae108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vnsw/agent/port_ipc/vrouter-port-control
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ class VrouterPortControl(object):
parser.add_argument('--vm_name', help="VM Name")
parser.add_argument('--mac', help="MAC address")
parser.add_argument('--tap_name', help="System name of interface")
parser.add_argument("--port_type", help = "Port type")
parser.add_argument("--port_type", help = "Port type", default="NovaVMPort")
parser.add_argument("--tx_vlan_id", help = "Transmit VLAN ID")
parser.add_argument("--rx_vlan_id", help = "Receive VLAN ID")
parser.add_argument("--no_persist", type = bool,
help = "Dont't store port information in files",
default=False)
parser.add_argument("--vif_type", help = "VIF type")
parser.add_argument("--vif_type", help = "VIF type", default="Vrouter")
parser.add_argument("--vhostuser_socket", help = "Path of vhostuser socket file")

self._args = parser.parse_args(remaining_argv)
Expand Down

0 comments on commit 96ae108

Please sign in to comment.