Re: [RFC PATCH nft V6 1/2] src: Add import command for low level json

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi Shyam,

Hi Pablo,

> On Tue, Dec 05, 2017 at 07:37:34PM +0530, Shyam Saini wrote:
>> This new operation allows to import low level virtual machine ruleset in
>> json to make incremental changes using the parse functions of libnftnl.
>>
>> A basic way to test this new functionality is:
>>
>>  $ cat file.json | nft import vm json
>>
>> where the file.json is a ruleset exported in low level json format.
>>
>> To export json rules in low level virtual machine format
>> we need to specify "vm" token before json. See below
>>         $ nft export vm json
>>
>> and
>>         $ nft export/import json
>>
>> will do no operations.
>> Same goes with  "$nft monitor"
>
> I'm going to place this in the nftables.git repository. Please, let's
> keep an eye on bug reports to come on this ;-).

Sure

Thanks a lot :)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux