From 722be75f9cffec7242d893cac20d40c570af32d6 Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Wed, 10 Aug 2016 15:26:45 +0800 Subject: Implement "network agent set" command Add "network agent set" command in network v2 to set network agent properties. Also add the unit test, doc, functional test and release note. Change-Id: Iebaee4c60f8c6b43f538c1b82a38b93178b9ce53 Implements: bp implement-network-agents Co-Authored-By: Michael Gugino --- doc/source/command-objects/network-agent.rst | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/network-agent.rst b/doc/source/command-objects/network-agent.rst index 32cb371c..15195a33 100644 --- a/doc/source/command-objects/network-agent.rst +++ b/doc/source/command-objects/network-agent.rst @@ -36,6 +36,36 @@ List network agents os network agent list +network agent set +----------------- + +Set network agent properties + +.. program:: network agent set +.. code:: bash + + os network agent set + [--description ] + [--enable | --disable] + + +.. option:: --description + + Set network agent description + +.. option:: --enable + + Enable network agent + +.. option:: --disable + + Disable network agent + +.. _network_agent_set-network-agent: +.. describe:: + + Network agent to modify (ID only) + network agent show ------------------ -- cgit v1.2.1